package com.example.sunmiv1.entity;

public class ShopCouponInfo {

    /**
     * status : 1
     * message : 驗證成功
     * data : {"shop_coupon":{"id":"201","coupon_code":"1215006626000813154372","used_type":"1","verification_type":"1","add_time":"1599815353","app_id":"wx57364f8d983fa108","type":"2","user_type":"2","available_type":"1,2","stock_type":"1","available_begin_time":"1599753600","available_end_time":"1599840000","valid_time_type":"0","coupon_use_rule":"{\"fixed_normal_coupon\":{\"discount_amount\":\"1\",\"transaction_minimum\":\"2\"},\"coupon_available_time\":{\"available_day_after_receive\":\"\",\"wait_days_after_receive\":\"\",\"available_week\":{\"week_day\":[],\"available_day_time\":{\"begin_time\":\"\",\"end_time\":\"\"}},\"irregulary_avaliable_time\":{\"irregular_time\":\"\"},\"available_begin_time\":\"2020-09-11T00:00:00\",\"available_end_time\":\"2020-09-12T00:00:00\"}}","store_type":"1","store_id_gather":"","goods_type":"1","goods_id_gather":""},"goods":[],"goods_money":0,"discount_amount":"1","transaction_minimum":"2","id":"201","reduce_money":"1","need_money":"2"}
     */

    private int status;
    private String message;
    private DataBean data;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message == null ? "" : message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * shop_coupon : {"id":"201","coupon_code":"1215006626000813154372","used_type":"1","verification_type":"1","add_time":"1599815353","app_id":"wx57364f8d983fa108","type":"2","user_type":"2","available_type":"1,2","stock_type":"1","available_begin_time":"1599753600","available_end_time":"1599840000","valid_time_type":"0","coupon_use_rule":"{\"fixed_normal_coupon\":{\"discount_amount\":\"1\",\"transaction_minimum\":\"2\"},\"coupon_available_time\":{\"available_day_after_receive\":\"\",\"wait_days_after_receive\":\"\",\"available_week\":{\"week_day\":[],\"available_day_time\":{\"begin_time\":\"\",\"end_time\":\"\"}},\"irregulary_avaliable_time\":{\"irregular_time\":\"\"},\"available_begin_time\":\"2020-09-11T00:00:00\",\"available_end_time\":\"2020-09-12T00:00:00\"}}","store_type":"1","store_id_gather":"","goods_type":"1","goods_id_gather":""}
         * goods : []
         * goods_money : 0
         * discount_amount : 1
         * transaction_minimum : 2
         * id : 201
         * reduce_money : 1
         * need_money : 2
         */

        private ShopCouponBean shop_coupon;
        private double goods_money;
        private String discount_amount;
        private String transaction_minimum;
        private String id;
        private String reduce_money;
        private String need_money;

        public ShopCouponBean getShop_coupon() {
            return shop_coupon;
        }

        public void setShop_coupon(ShopCouponBean shop_coupon) {
            this.shop_coupon = shop_coupon;
        }

        public double getGoods_money() {
            return goods_money;
        }

        public void setGoods_money(double goods_money) {
            this.goods_money = goods_money;
        }

        public String getDiscount_amount() {
            return discount_amount == null ? "" : discount_amount;
        }

        public void setDiscount_amount(String discount_amount) {
            this.discount_amount = discount_amount;
        }

        public String getTransaction_minimum() {
            return transaction_minimum == null ? "" : transaction_minimum;
        }

        public void setTransaction_minimum(String transaction_minimum) {
            this.transaction_minimum = transaction_minimum;
        }

        public String getId() {
            return id == null ? "" : id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getReduce_money() {
            return reduce_money == null ? "" : reduce_money;
        }

        public void setReduce_money(String reduce_money) {
            this.reduce_money = reduce_money;
        }

        public String getNeed_money() {
            return need_money == null ? "" : need_money;
        }

        public void setNeed_money(String need_money) {
            this.need_money = need_money;
        }


        public static class ShopCouponBean {
            /**
             * id : 201
             * coupon_code : 1215006626000813154372
             * used_type : 1
             * verification_type : 1
             * add_time : 1599815353
             * app_id : wx57364f8d983fa108
             * type : 2
             * user_type : 2
             * available_type : 1,2
             * stock_type : 1
             * available_begin_time : 1599753600
             * available_end_time : 1599840000
             * valid_time_type : 0
             * coupon_use_rule : {"fixed_normal_coupon":{"discount_amount":"1","transaction_minimum":"2"},"coupon_available_time":{"available_day_after_receive":"","wait_days_after_receive":"","available_week":{"week_day":[],"available_day_time":{"begin_time":"","end_time":""}},"irregulary_avaliable_time":{"irregular_time":""},"available_begin_time":"2020-09-11T00:00:00","available_end_time":"2020-09-12T00:00:00"}}
             * store_type : 1
             * store_id_gather :
             * goods_type : 1
             * goods_id_gather :
             */

            private String id;
            private String coupon_code;
            private String used_type;
            private String verification_type;
            private String add_time;
            private String app_id;
            private String type;
            private String user_type;
            private String available_type;
            private String stock_type;
            private String available_begin_time;
            private String available_end_time;
            private String valid_time_type;
            private String coupon_use_rule;
            private String store_type;
            private String store_id_gather;
            private String goods_type;
            private String goods_id_gather;

            public String getId() {
                return id == null ? "" : id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getCoupon_code() {
                return coupon_code == null ? "" : coupon_code;
            }

            public void setCoupon_code(String coupon_code) {
                this.coupon_code = coupon_code;
            }

            public String getUsed_type() {
                return used_type == null ? "" : used_type;
            }

            public void setUsed_type(String used_type) {
                this.used_type = used_type;
            }

            public String getVerification_type() {
                return verification_type == null ? "" : verification_type;
            }

            public void setVerification_type(String verification_type) {
                this.verification_type = verification_type;
            }

            public String getAdd_time() {
                return add_time == null ? "" : add_time;
            }

            public void setAdd_time(String add_time) {
                this.add_time = add_time;
            }

            public String getApp_id() {
                return app_id == null ? "" : app_id;
            }

            public void setApp_id(String app_id) {
                this.app_id = app_id;
            }

            public String getType() {
                return type == null ? "" : type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getUser_type() {
                return user_type == null ? "" : user_type;
            }

            public void setUser_type(String user_type) {
                this.user_type = user_type;
            }

            public String getAvailable_type() {
                return available_type == null ? "" : available_type;
            }

            public void setAvailable_type(String available_type) {
                this.available_type = available_type;
            }

            public String getStock_type() {
                return stock_type == null ? "" : stock_type;
            }

            public void setStock_type(String stock_type) {
                this.stock_type = stock_type;
            }

            public String getAvailable_begin_time() {
                return available_begin_time == null ? "" : available_begin_time;
            }

            public void setAvailable_begin_time(String available_begin_time) {
                this.available_begin_time = available_begin_time;
            }

            public String getAvailable_end_time() {
                return available_end_time == null ? "" : available_end_time;
            }

            public void setAvailable_end_time(String available_end_time) {
                this.available_end_time = available_end_time;
            }

            public String getValid_time_type() {
                return valid_time_type == null ? "" : valid_time_type;
            }

            public void setValid_time_type(String valid_time_type) {
                this.valid_time_type = valid_time_type;
            }

            public String getCoupon_use_rule() {
                return coupon_use_rule == null ? "" : coupon_use_rule;
            }

            public void setCoupon_use_rule(String coupon_use_rule) {
                this.coupon_use_rule = coupon_use_rule;
            }

            public String getStore_type() {
                return store_type == null ? "" : store_type;
            }

            public void setStore_type(String store_type) {
                this.store_type = store_type;
            }

            public String getStore_id_gather() {
                return store_id_gather == null ? "" : store_id_gather;
            }

            public void setStore_id_gather(String store_id_gather) {
                this.store_id_gather = store_id_gather;
            }

            public String getGoods_type() {
                return goods_type == null ? "" : goods_type;
            }

            public void setGoods_type(String goods_type) {
                this.goods_type = goods_type;
            }

            public String getGoods_id_gather() {
                return goods_id_gather == null ? "" : goods_id_gather;
            }

            public void setGoods_id_gather(String goods_id_gather) {
                this.goods_id_gather = goods_id_gather;
            }
        }
    }
}
